Mixin Based Behaviour Modelling - An Example Based on Composed State Machines
نویسندگان
چکیده
State Machines are the basic mechanism used to specify the behaviour of objects in UML based object models and admit the possibility of direct animation or execution of a model. Tools that exploit this potential offer the promise of both supporting early validation of a model under development and allowing generation of final code directly from the model. Recently, we have made some new proposals on how state machines are used to model behaviour: firstly, that complex object behaviour can be best modelled by the parallel composition of multiple state machines; and secondly, that a formal distinction can be made between purely event driven machines and those whose states are derived from other information in the model. We illustrate the advantages of this approach with a small example that shows how it can help reduce redundancy and promote simplicity.
منابع مشابه
State Machines as Mixins
Mainstream object modelling techniques use Statechart Diagrams as a means of modelling object behaviour. Research into how statecharts can be used in the context of class generalization hierarchies has focused on applying the Liskov Substitution Principle (LSP) to statecharts. This approach is problematic, and we describe three reservations. We propose an alternative approach based on mixin-sty...
متن کاملطراحی مدل عاملمحور و کاربرد آن در باستانشناسی
The aim of this paper is to consider what constitutes agent-based modelling (ABM) and how this can relate to archaeological reasoning. The development and construction of ABM models is an essential prerequisite for most archaeological reasoning. Both directly and indirectly, archaeologists are making extensive use of ideas and methods in applications that derive from archaeological, anthropolog...
متن کاملA Reliability based Modelling and Optimization of an Integrated Production and Preventive Maintenance Activities in Flowshop Scheduling Problem
Traditional scheduling problems with the batch processing machines (BPM) assume that machines are continuously available, and no time is needed for their preventive maintenance (PM). In this paper, we study a realistic variant of flowshop scheduling which integrates flow shop batch processing machines (FBPM) and preventive maintenance for minimizing the makespan. In order to tackle the given pr...
متن کاملDistinct element modelling of the mechanical behaviour of intact rocks using voronoi tessellation model
This paper aims to study the mechanical behaviour and failure mechanism of intact rocks under different loading conditions using the grain based model implemented in the universal distinct element code (UDEC). The grain based numerical model is a powerful tool to investigate complicated micro-structural mechanical behaviour of rocks. In the UDEC grain based model, the intact material is simulat...
متن کاملModelling and solving the job shop scheduling Problem followed by an assembly stage considering maintenance operations and access restrictions to machines
This paper considers job shop scheduling problem followed by an assembly stage and Lot Streaming (LS). It is supposed here that a number of products have been ordered to be produced. Each product is assembled with a set of several parts. The production system includes two stages. The first stage is a job shop to produce parts. Each machine can process only one part at the same time. The second ...
متن کامل